package com.gmail.bogatyr.alexander.server.manager;

import com.gmail.bogatyr.alexander.shared.entity.TelephoneBook;

import java.util.List;

public interface ITelephoneBookManager {

    List<TelephoneBook> find(String number, String name);
    List<TelephoneBook> findAll();
    TelephoneBook save(TelephoneBook telephoneBook);
    TelephoneBook read(Long id);
    TelephoneBook update(TelephoneBook telephoneBook);
    void delete(TelephoneBook telephoneBook);
}
